package com.copm.demonstrationsystem.dao.introductionfeatures;

import com.copm.demonstrationsystem.pojo.introductionfeatures.CompanyIntroduction;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface CompanyIntroductionDao extends JpaRepository<CompanyIntroduction, Long> {

    @Query(value = "select * from company_introduction", nativeQuery = true)
    CompanyIntroduction findPage();
}
